package com.lw.system.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.lw.system.model.RoleMenu;
@Mapper
public interface RoleMenuMapper {
	int deleteByPrimaryKey(String id);

	int insert(RoleMenu record);

	int insertSelective(RoleMenu record);

	RoleMenu selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(RoleMenu record);

	int updateByPrimaryKey(RoleMenu record);

	int deleteByRoleMenuceRoleId(String roleId);

	List<RoleMenu> findRoleMenusByRoleId(String roleId);
}